package com.tronsis.distribution.bean;

import java.io.Serializable;
import java.util.List;

public class AskBuyDetailBean implements Serializable {


    /**
     * id : RNcXrbYDTvTu
     * couponId : null
     * code : 2019041400223
     * state : PAY
     * stateOn : 2019-04-14T21:03:08
     * totalItem : 4
     * totalPrice : 898.0
     * payeeInfo : null
     * points : null
     * pointsPrice : null
     * paidPrice : 898.0
     * paymentFid : null
     * refundFid : null
     * done : false
     * creatorId : RLziVnD73EQq
     * createdOn : 2019-04-14T21:03:08
     * couponCoverFid : null
     * items : [{"id":"RNcXrbiE7Jed","productId":"RLzrHkwZQshF","amount":1,"code":null,"name":"COMFIER颈椎按摩器","contribute":56,"freight":34,"coverFid":"RLzuPWyEgYpd"},{"id":"RNcXrbiE7Jec","productId":"RM6Co1rTBgIf","amount":2,"code":null,"name":"印度精油皂medimix阿育吠陀印度清洁绿宝石神皂","contribute":345,"freight":32,"coverFid":"RM6Co0iOPH4B"},{"id":"RNcXrbiE7Jeb","productId":"RMfX1ML4jA5V","amount":1,"code":null,"name":"集线随手贴","contribute":324,"freight":53,"coverFid":"RMfX1KfXzkAv"}]
     */

    private String id;
    private String couponId;
    private String code;
    private String state;
    private String stateOn;
    private int totalItem;
    private double totalPrice;
    private PayeeMethodBean payeeInfo;
    private Integer points;
    private String pointsPrice;
    private double paidPrice;
    private String paymentFid;
    private String refundFid;
    private boolean done;
    private String creatorId;
    private String createdOn;
    private String couponCoverFid;
    private List<ItemsBean> items;
    private String leaderName;
    private String leaderId;
    private String payType;
    private int supportPay;


    private String pointsInput;


    public int getSupportPay() {
        return supportPay;
    }

    public void setSupportPay(int supportPay) {
        this.supportPay = supportPay;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPointsInput() {
        return pointsInput;
    }

    public void setPointsInput(String pointsInput) {
        this.pointsInput = pointsInput;
    }

    public String getLeaderName() {
        return leaderName;
    }

    public void setLeaderName(String leaderName) {
        this.leaderName = leaderName;
    }

    public PayeeMethodBean getPayeeInfo() {
        return payeeInfo;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getStateOn() {
        return stateOn;
    }

    public void setStateOn(String stateOn) {
        this.stateOn = stateOn;
    }

    public int getTotalItem() {
        return totalItem;
    }

    public void setTotalItem(int totalItem) {
        this.totalItem = totalItem;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getPointsPrice() {
        return pointsPrice;
    }

    public void setPointsPrice(String pointsPrice) {
        this.pointsPrice = pointsPrice;
    }

    public double getPaidPrice() {
        return paidPrice;
    }

    public void setPaidPrice(double paidPrice) {
        this.paidPrice = paidPrice;
    }

    public String getPaymentFid() {
        return paymentFid;
    }

    public void setPaymentFid(String paymentFid) {
        this.paymentFid = paymentFid;
    }

    public String getRefundFid() {
        return refundFid;
    }

    public void setRefundFid(String refundFid) {
        this.refundFid = refundFid;
    }

    public boolean isDone() {
        return done;
    }

    public void setDone(boolean done) {
        this.done = done;
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getCreatedOn() {
        return createdOn;
    }

    public void setCreatedOn(String createdOn) {
        this.createdOn = createdOn;
    }

    public String getCouponCoverFid() {
        return couponCoverFid;
    }

    public void setCouponCoverFid(String couponCoverFid) {
        this.couponCoverFid = couponCoverFid;
    }

    public List<ItemsBean> getItems() {
        return items;
    }

    public void setItems(List<ItemsBean> items) {
        this.items = items;
    }

    public void setPayeeInfo(PayeeMethodBean payeeInfo) {
        this.payeeInfo = payeeInfo;
    }

    public String getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(String leaderId) {
        this.leaderId = leaderId;
    }

    public static class ItemsBean implements Serializable{
        /**
         * id : RNcXrbiE7Jed
         * productId : RLzrHkwZQshF
         * amount : 1
         * code : null
         * name : COMFIER颈椎按摩器
         * contribute : 56.0
         * freight : 34.0
         * coverFid : RLzuPWyEgYpd
         * productState : string
         */

        private String id;
        private String productId;
        private int amount;
        private String code;
        private String name;
        private int contribute;
        private double freight;
        private String coverFid;
        private String productState;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getProductId() {
            return productId;
        }

        public void setProductId(String productId) {
            this.productId = productId;
        }

        public int getAmount() {
            return amount;
        }

        public void setAmount(int amount) {
            this.amount = amount;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getContribute() {
            return contribute;
        }

        public void setContribute(int contribute) {
            this.contribute = contribute;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }

        public String getCoverFid() {
            return coverFid;
        }

        public void setCoverFid(String coverFid) {
            this.coverFid = coverFid;
        }

        public String getProductState() {
            return productState;
        }

        public void setProductState(String productState) {
            this.productState = productState;
        }
    }


}
